
//
//  LJHAlbumModel.m
//  HEARME
//
//  Created by liujinhui on 16/1/27.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "LJHAlbumModel.h"

@implementation LJHAlbumModel
- (void)dealloc
{
    [_trackId release];
    [_cover_path release];
    [_smallLogo release];
    [_personInfo release];
    [_myId release];
    [_tracksCounts release];
    [_albumCoverUrl290 release];
    [_albumTitle release];
    [_playUrl32 release];
    [_playUrl64 release];
    [_richIntro release];
    [_coverLarge release];
    [_coverSmall release];
    [_images release];
    [_intro release];
    [_avatarPath release];
    [_nickname release];
    [_tags release];
    [_title release];
    [super dealloc];
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
        
        self.myId = value;
    }
    if ([key isEqualToString:@"userInfo"]) {
        self.nickname = [value objectForKey:@"nickname"];
        self.personInfo = [value objectForKey:@"personDescribe"];
        self.smallLogo = [value objectForKey:@"smallLogo"];
    }
}
@end
